package Bridge;

/**
 * @author duanzhizhou
 * @date 2024/11/4
 */
public class client {
    
    public static void main(String[] args) {
        PhoneA phoneA = new PhoneA(new Game());
        phoneA.operation();
        phoneA.setSoftware(new MusicPlayer());
        phoneA.operation();
        PhoneB phoneB = new PhoneB(new Game());
        phoneB.operation();
        phoneB.setSoftware(new MusicPlayer());
        phoneB.operation();
    }
}
